const mix = require('laravel-mix');

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css')
    .version()
    .copyDirectory('resources/editor/js', 'public/js')
    .copyDirectory('resources/editor/css', 'public/css')
    .copyDirectory('resources/home/images','public/images')
    .copyDirectory('resources/article/css','public/css')
    .copyDirectory('resources/article/js','public/js');
if (mix.inProduction()) {
    mix.version()
} else {
    mix.disableNotifications()
}
